package com.atguigu.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
@EnableJpaAuditing
@ComponentScan({"com.atguigu.springcloud"})
@EntityScan(basePackages ={ "com.atguigu.springcloud.entities"})
@EnableJpaRepositories("com.atguigu.springcloud.dao")
@EnableEurekaClient
@EnableFeignClients
public class MicroservicecloudProviderDept8003FeignApplication {

	public static void main(String[] args) {
		SpringApplication.run(MicroservicecloudProviderDept8003FeignApplication.class, args);
	}
}
